package rolesystem.jade.agents.carry.carrier;

import jade.core.*;
import jade.core.behaviours.*;

/**
 * This is the next behaviour to schedule after the WrapperBehaviour.
 */
public class ExplorerNB extends OneShotBehaviour
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1447756654053049033L;
	/**
	 * Subject layer of the agent.
	 */
	private transient ExplorerSL subject;
	
	/**
	 * Defines if the behaviour is cyclic or not.
	 */
	/*private boolean finished = false;*/
	
	/**
	 * @param agent Agent owner of this behaviour.
	 * @param subject Subject layer of the agent.
	 */
	public ExplorerNB(Agent agent, ExplorerSL subject)
	{
		super(agent);
		this.subject=subject;
	}
	
	public void action()
	{
		System.out.println(" Explorer - Behaviour- Action()");
		myAgent.doDelete();
	}

}



	

